//
//  TimeCity.m
//  课堂代码Two
//
//  Created by dllo on 16/7/11.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "TimeCity.h"

@implementation TimeCity
- (instancetype)initWithName:(NSString *)name
                  cityNumber:(NSString *)cityNumber {
      if (self = [super init]) {
            _cityNumber = cityNumber;
            _name = name;
      }
      return self;
}
- (NSString *)description {
      return [NSString stringWithFormat:@"%@ %@",_name,_cityNumber];
}

@end
